package com.t309.tzy.mapper;
import com.t309.tzy.entity.TSupplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * 入库记录表相关接口
 */
public interface TSupplierMapper {
    //List<StorageRecord> findStorageRecordBySupplierId(@Param("supplierId") int supplierId);
    List<TSupplier> findAllStorageRecordByPagingQuery(@Param("currentNo") int currentNo, @Param("pageSize") int pageSize);
    TSupplier findStorageRecordBySupplierId(@Param("supplierId") int supplierId);
    int insert(@Param("TSupplier") TSupplier supplier);
    int update(@Param("TSupplier") TSupplier supplier);
    int delete(@Param("id") int id);
}
